package com.qingsong.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author qingsong
 */
@Schema(description = "员工角色修改DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmpUpdateRolesDTO implements Serializable {


    @NotNull(message = "员工主键不能为空")
    @Schema(description ="员工主键")
    private Long id;

    @Schema(description ="角色主键列表")
    private List<Long> roleIds;
}
